package com.azusa.ktc_friend.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Description tb_friend实体类
 * @author Azusa
 * @date 2020-10-12 18:26:41
 */
@Entity
@Table(name="tb_friend")
public class Friend implements Serializable{

	@Id
	private String userid;//主键ID

	private String friendid;

	private String islike;	//是否互相关注

	public Friend() {
	}

	public Friend(String userid, String friendid) {
		this.userid = userid;
		this.friendid = friendid;
	}

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String aValue) {
		this.userid = aValue;
	}

	public String getFriendid() {
		return friendid;
	}

	public void setFriendid(String friendid) {
		this.friendid = friendid;
	}

	public String getIslike() {
		return islike;
	}

	public void setIslike(String islike) {
		this.islike = islike;
	}
}



